package sctu.edu.java.year2016.team03.huangbaolian.day20160605.chapter11_1;

/**
 * Created by hbl on 2016/6/16.
 */
public class MyException extends Exception {
    public void speak(int m) throws MyException {
        if (m > 1000) {
            throw new MyException();
        }

    }
}
